package com.bd.scm.domain.dto.leave;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author yufc
 */
@ApiModel(value="请假主信息")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class LeaveMasterViewDto implements Serializable {

    @ApiModelProperty(value="")
    private Long orderId;

    @ApiModelProperty(value="")
    private String orderNo;

    @ApiModelProperty(value="")
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone="GMT+8")
    private Date startDate;

    @ApiModelProperty(value="")
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone="GMT+8")
    private Date endDate;

    @ApiModelProperty(value="")
    private Integer peopleNum;

    @ApiModelProperty(value="")
    private BigDecimal totalTime;

    @ApiModelProperty(value="")
    private String remark;

    @ApiModelProperty(value="")
    private String submitterId;

    @ApiModelProperty(value="")
    private String submitterNo;

    @ApiModelProperty(value="")
    private String submitterName;

    @ApiModelProperty(value="")
    private Integer submitterDeptId;

    @ApiModelProperty(value="")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date submitterTime;

    @ApiModelProperty(value="")
    private Integer applyType;

    @ApiModelProperty(value="")
    private String statusName;

    @ApiModelProperty(value="")
    private String lastApproverNo;

    @ApiModelProperty(value="")
    private String lastApproverName;

    @ApiModelProperty(value="")
    private Integer isDel;

    @ApiModelProperty(value="")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date approvalTime;

    @ApiModelProperty(value="")
    private String removeNo;

    @ApiModelProperty(value="")
    private String removeName;

    @ApiModelProperty(value="")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date removeTime;

    @ApiModelProperty(value="")
    private String returnRemark;

    @ApiModelProperty(value="")
    private String beginTime;

    @ApiModelProperty(value="")
    private String endTime;

    @ApiModelProperty(value="")
    private String leaveTypeName;

    @ApiModelProperty(value="")
    private String approver1No;

    @ApiModelProperty(value="")
    private String approver1Name;

    @ApiModelProperty(value="")
    private String approver2No;

    @ApiModelProperty(value="")
    private String approver2Name;

    private static final long serialVersionUID = 1L;

}